using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 会员短消息
    /// </summary>
    public class dt_user_message
    {
        /// <summary>
        /// 会员短消息
        /// </summary>
        public dt_user_message()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 短信息类型0系统消息1收件箱2发件箱
        /// </summary>
        public System.Int32? type { get; set; }

        /// <summary>
        /// 发件人
        /// </summary>
        public System.String post_user_name { get; set; }

        /// <summary>
        /// 收件人
        /// </summary>
        public System.String accept_user_name { get; set; }

        /// <summary>
        /// 是否查看0未阅1已阅
        /// </summary>
        public System.Int32? is_read { get; set; }

        /// <summary>
        /// 短信息标题
        /// </summary>
        public System.String title { get; set; }

        /// <summary>
        /// 短信息内容
        /// </summary>
        public System.String content { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime post_time { get; set; }

        /// <summary>
        /// 阅读时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? read_time { get; set; }
    }
}